package cn.ctbu.simple_score_manage.common;

import lombok.Getter;

@Getter
public class RunException extends Exception{
    private Integer code = REnum.UNKNOWN_ERROR.getCode();
    public RunException(REnum rEnum){
        super(rEnum.getMsg());
        code = rEnum.getCode();
    }
}
